{config_load file="lang/$language/lang_$language.conf" section="index"}
{if !$infinite}
	{$slider}
	{if $KEYWORDS}<h1 class="di">{$KEYWORDS}</h1>{/if}
	{if $TITLE}<h2>{$TITLE}</h2>{/if}
	{$TAG_COUNT}
	<div class="clearfix">
		{if $CATEGORIES_IMAGE}
			<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_IMAGE_ALT}" {$CATEGORIES_IMAGE_DIMENSION} title="{$CATEGORIES_NAME}" class="product_listing_category_image" />
		{/if}
		{if $CATEGORIES_HEADING_TITLE|default:$CATEGORIES_NAME !=''}<h1>{$CATEGORIES_HEADING_TITLE|default:$CATEGORIES_NAME}</h1>{/if}
		{if $CATEGORIES_DESCRIPTION}{$CATEGORIES_DESCRIPTION}<br />{/if}
	</div>
	{if $PRODUCTS_PER_SITE || $MULTISORT_DROPDOWN || $PRODUCTS_VIEW_AS || $BRAND_DROPDOWN}
		<ul class="product_listing_misc clearfix">
			{$PRODUCTS_VIEW_AS}{$BRAND_DROPDOWN}{$PRODUCTS_PER_SITE}{$MULTISORT_DROPDOWN}
		</ul>
	{/if}
	<section>
		<ul id="{$LIST_NAME}" class="product_listing_gallery {$CLASS_NAME}">
{/if}
			{foreach name=aussen item=module_data from=$module_content}
				<li id="{$LIST_NAME}_{$module_data.PRODUCTS_ID}" class="list_item{if $module_data.COL_CLASS || $module_data.COL_SPECIAL} {$module_data.COL_CLASS}{$module_data.COL_SPECIAL}{/if}">
		            {if $module_data.PRODUCTS_NAME}
						<h3>
							<a href="{$module_data.PRODUCTS_LINK}" title="{$module_data.PRODUCTS_NAME}">
								{$module_data.PRODUCTS_NAME}
							</a>
						</h3>
					{/if}
					<div class="product_listing_gallery_image"{$module_data.PRODUCTS_MOUSE_OVER}>
						<a href="{$module_data.PRODUCTS_LINK}" title="{$module_data.PRODUCTS_NAME}">
							<img class="img_border product_image" src="{$module_data.PRODUCTS_IMAGE}" {$module_data.PRODUCTS_IMAGE_DIMENSION} alt="{$module_data.PRODUCTS_IMAGE_ALT}" title="{$module_data.PRODUCTS_IMAGE_ALT}" />
						</a>
					</div>
					{if $module_data.PRODUCTS_REVIEWS}<div class="product_listing_gallery_review">{$module_data.PRODUCTS_REVIEWS}</div>{/if}
					{if $module_data.PRODUCTS_DESCRIPTION || $module_data.PRODUCTS_BRAND_IMG || $module_data.PRODUCTS_BRAND_NAME}
						<div class="product_listing_gallery_detail_cat">
							{$module_data.PRODUCTS_DESCRIPTION}
							{if $module_data.PRODUCTS_BRAND_IMG || $module_data.PRODUCTS_BRAND_NAME}
								{if $module_data.PRODUCTS_BRAND_URL}<a class="product_listing_brand_url" href="{$module_data.PRODUCTS_BRAND_URL}">{/if}
									{if $module_data.PRODUCTS_BRAND_IMG}
										<img class="product_listing_brand_img" src="{$module_data.PRODUCTS_BRAND_IMG}" alt="{$module_data.PRODUCTS_BRAND_NAME}" /><br />
									{/if}
									{$module_data.PRODUCTS_BRAND_NAME}
								{if $module_data.PRODUCTS_BRAND_URL}</a>{/if}
							{/if}
						</div>
					{/if}
					{if $module_data.PRODUCTS_PRICE || $module_data.PRODUCTS_STOCK_IMG || $module_data.PRODUCTS_MODEL || $module_data.PRODUCTS_ISBN || $module_data.PRODUCTS_BUTTON_DETAILS || $module_data.PRODUCTS_BUTTON_BUY_NOW}
						<div class="product_listing_gallery_price">
							{if $module_data.PRODUCTS_STOCK_IMG}<span class="fs85">{#text_stock#} {$module_data.PRODUCTS_STOCK_IMG}</span>{/if}
							{if $module_data.PRODUCTS_PRICE}<div class="product_listing_price">{$module_data.PRODUCTS_PRICE}</div>
							{if $module_data.PRODUCTS_VPE}<span class="fs85">{#text_vpe#} {$module_data.PRODUCTS_VPE}</span><br />{/if}
							{if $module_data.PRODUCTS_MODEL}<span class="fs85">{#text_model#} {$module_data.PRODUCTS_MODEL}</span><br />{/if}
							{if $module_data.PRODUCTS_ISBN}<span class="fs85">ISBN: {$module_data.PRODUCTS_ISBN}</span><br />{/if}
							<span class="fs85">{$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK}</span><br />{/if}
							{$module_data.PRODUCTS_BUTTON_DETAILS} {$module_data.PRODUCTS_BUTTON_BUY_NOW} {$module_data.PRODUCTS_BUTTON_WISHLIST}
						</div>
					{/if}
					{$module_data.EXTRA_DIV}
		        </li>
			{/foreach}
{if !$infinite}
		</ul>
		<div class="clearfix">&nbsp;</div>
	</section>
	{if $NAVIGATION}
		<nav id="product_listing_nav" class="page_break_div ac">
			{$NAVIGATION}
		</nav>
	{/if}
	{$CATEGORIES_DESCRIPTION_BOTTOM}
{/if}